Skip to content

fix(fleet): tag-pin the example repos in the repin instead of SHA-pinning#391

Merged
joshua-temple merged 1 commit into
mainfrom
fix/repin-tag-pin-example-repos
Jun 27, 2026
Merged

fix(fleet): tag-pin the example repos in the repin instead of SHA-pinning#391
joshua-temple merged 1 commit into
mainfrom
fix/repin-tag-pin-example-repos

Conversation

@joshua-temple

Copy link
Copy Markdown
Collaborator

The repin wrote cli_version_sha and regenerated, SHA-pinning the example repos' setup-cli refs. For the one pin_mode:sha repo (4env), a routine state-write then dropped cli_version_sha while the workflows stayed SHA-pinned, a permanent drift that failed the drift-check gate every full fleet run. Example repos are ephemeral test pins that do not need SHA-pinning; cascade's own repo keeps its static SHA-pin (the 5 alerts stay fixed) and the generator path is unit-tested. The repin now deletes any cli_version_sha and regenerates, leaving example repos tag-pinned and drift-clean (verified locally: cascade verify reports no drift, regeneration idempotent). Residual root cause tracked in #390. Part of #373.

…ning

The repin wrote cli_version_sha into each example repo's manifest and regenerated, SHA-pinning the setup-cli refs. For the one pin_mode:sha repo (4env), a routine state-write then dropped cli_version_sha while the committed workflows stayed SHA-pinned, a permanent drift that failed the drift-check gate every full fleet run. The example repos are ephemeral test pins that do not need SHA-pinning; cascade's own repo keeps its static SHA-pin (which cleared the code-scanning alerts) and the generator SHA-pin path is covered by unit tests. So the repin now deletes any cli_version_sha and regenerates, leaving the example repos tag-pinned and drift-clean. The residual root cause of the field drop is tracked in #390.

Signed-off-by: Joshua Temple <joshua.temple@stablekernel.com>
@joshua-temple joshua-temple merged commit c110046 into main Jun 27, 2026
13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant